package org.dawning.shop.product.query.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.dawning.shop.common.domain.product.ProductItem;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * Created by miou on 2017/6/12 0012.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document
public class ProductEntry {


    private String id;

    private String name;

    private String shopId;

    private String shopName;

    private String status;

    /**
     * 分类id
     */
    private String categoryId;

    /**
     * 图文详情url
     */
    private String detailUrl;

    /**
     * 关键词
     */
    private List<String> keywords;

    /**
     * 描述
     */
    private String description;

    /**
     * 产品项
     */
    private List<ProductItemEntry> items;

}
